/**
 * 最近的一个直播播放
 */
function nowLivePlay(courseId) {
	isLogin(function () {
		$.ajax({
			type: "POST",
			dataType: "json",
			url: "/user/live/paly/getId.json",
			data: {"courseId": courseId},
			cache: true,
			async: true,
			success: function (result) {
				if (result.code === 0) {
					location.href = "/user/live/play.html?nodeId=" + result.data;
				} else {
					layer.alert(result.msg);
				}
			}
		});
	});
}